package com.gb.demand.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_store")
@ApiModel(value="Store对象", description="")
public class Store extends Model<Store> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Boolean deleteStatus;

    private Boolean cardApprove;

    private Boolean realstoreApprove;

    private String storeAddress;

    private Integer storeCredit;

    private String storeInfo;

    private String storeMsn;

    private String storeName;

    private String storeOwer;

    private String storeOwerCard;

    private String storeQq;

    private Boolean storeRecommend;

    private Date storeRecommendTime;

    private String storeSeoDescription;

    private String storeSeoKeywords;

    private Integer storeStatus;

    private String storeTelephone;

    private String storeZip;

    private String template;

    private Date validity;

    private String violationReseaon;

    private Long areaId;

    private Long cardId;

    private Long gradeId;

    private Long scId;

    private Long storeBannerId;

    private Long storeLicenseId;

    private Long storeLogoId;

    private Long updateGradeId;

    private Integer domainModifyCount;

    private String storeSecondDomain;

    private Integer favoriteCount;

    private BigDecimal storeLat;

    private BigDecimal storeLng;

    private String storeWw;

    private String mapType;

    private Date deliveryBeginTime;

    private Date deliveryEndTime;

    private Date combinBeginTime;

    private Date combinEndTime;

    private Date weixinBeginTime;

    private Date weixinEndTime;

    private Integer weixinStatus;

    @TableField("weixin_appId")
    private String weixinAppid;

    @TableField("weixin_appSecret")
    private String weixinAppsecret;

    private String weixinToken;

    private String weixinWelecomeContent;

    private Long weixinQrImgId;

    private String weixinAccount;

    private Long storeWeixinLogoId;

    private String weixinStoreName;

    @ApiModelProperty(value = "商铺的折扣率")
    private String discount;

    @ApiModelProperty(value = "显示在与java商城logo并排的店铺logo")
    private Long storeStorelogoId;

    @ApiModelProperty(value = "新点对接使用appKey（每个店铺不一样）")
    @TableField("appKey")
    private String appKey;

    @ApiModelProperty(value = "appKey对应的密码")
    @TableField("appSecret")
    private String appSecret;

    @ApiModelProperty(value = "访问后获取token 时效为24小时")
    @TableField("accessToken")
    private String accessToken;

    @ApiModelProperty(value = "创建token的时间")
    @TableField("createTokenTime")
    private Date createTokenTime;

    @ApiModelProperty(value = "每个店铺允许下单的开始每月几号")
    @TableField("canorderStartday")
    private Integer canorderStartday;

    @ApiModelProperty(value = "每个店铺允许下单的结束 每月几号")
    @TableField("canorderEndday")
    private Integer canorderEndday;

//    @ApiModelProperty(value = "双向接口第二个appKey")
//    @TableField("appKey_nd")
//    private String appkeyNd;
//
//    @ApiModelProperty(value = "双向接口第二个appSecret")
//    @TableField("appSecret_nd")
//    private String appsecretNd;
//
//    @ApiModelProperty(value = "双向接口第二个accessToken")
//    @TableField("accessToken_nd")
//    private String accesstokenNd;
//
//    @ApiModelProperty(value = "双向接口第二个createTokenTime")
//    @TableField("createTokenTime_nd")
//    private Date createtokentimeNd;


}
